﻿<%@ Page Language="C#" MasterPageFile="~/giaovien/Manager3.master" AutoEventWireup="true" CodeFile="TrangBangTongHopKetQua.aspx.cs" Inherits="giaovien_TrangBangTongHopKetQua" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head1" Runat="Server">
    <link href="../CSS/FixItem.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphBody" Runat="Server">
    <div style="width: 100%; height: auto;">
        <div id="main_panel" style="width: 100%;">
            <div id="personal_content" style="padding: 10px; border: 1px solid #ccc">
                <div class="personal_top_text">
                    Kết quả học tập của học sinh
                </div>
                <div class="personal_style_form">
                    <span class="personal_laber">Năm học </span>
                    <asp:DropDownList runat="server" ID="drNamHoc" Width="120px" AutoPostBack="True" 
                        onselectedindexchanged="drNamHoc_SelectedIndexChanged">
                    </asp:DropDownList>
                </div>
                <div class="personal_style_form">
                    <span class="personal_laber">Lớp học </span>
                    <asp:DropDownList runat="server" ID="drLopHoc" Width="120px" AutoPostBack="True" 
                        onselectedindexchanged="drLopHoc_SelectedIndexChanged">
                    </asp:DropDownList>
                </div>
                <div class="personal_style_form">
                    <span class="personal_laber">
                        <asp:Button runat="server" ID="btnHienThi" CssClass="button_150" 
                        Text="Hiển thị" Width="120px" onclick="btnHienThi_Click" /></span>
                    <asp:Button runat="server" ID="btnXuatExcel" CssClass="button_150" Text="Xuất ra excel" Width="120px" />
                </div>
                <div>
                    <asp:GridView ID="grvBangTongHopKQ" runat="server" AutoGenerateColumns="False" Width="100%"
                        ForeColor="#333333" AllowPaging="True" Height="28px" ShowFooter="True" PageSize="50">
                        <RowStyle BackColor="#EFF3FB" HorizontalAlign="Center" />
                        <Columns>
                            <asp:TemplateField HeaderText="STT" SortExpression="STT">
                                <ItemTemplate>
                                    <%#Eval("STT") %>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="Mã HS" SortExpression="MaHS">
                                <ItemTemplate>
                                    <asp:Label runat="server" ID="lblMa" Text='<%#Bind("MaHS") %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="Tên HS" SortExpression="TenHS">
                                <ItemTemplate>
                                    <%#Eval("TenHS") %>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="ĐTBKI" SortExpression="DTBKI">
                                <ItemTemplate>
                                    <%#Eval("DTBKI") %>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="ĐTBKII" SortExpression="DTBKII">
                                <ItemTemplate>
                                    <%#Eval("DTBKII") %>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="ĐTBCN" SortExpression="DTBCN">
                                <ItemTemplate>
                                    <%#Eval("DTBCN") %>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="HLKI" SortExpression="HLKI">
                                <ItemTemplate>
                                    <%#Eval("HLKI") %>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="HKKI" SortExpression="HKKI">
                                <ItemTemplate>
                                    <%#Eval("HKKI") %>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="HLKII" SortExpression="HLKII">
                                <ItemTemplate>
                                    <%#Eval("HLKII") %>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="HKKII" SortExpression="HKKII">
                                <ItemTemplate>
                                    <%#Eval("HKKII") %>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="HLCN" SortExpression="HLCN">
                                <ItemTemplate>
                                    <%#Eval("HLCN") %>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="HKCN" SortExpression="HKCN">
                                <ItemTemplate>
                                    <%#Eval("HKCN") %>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="Nghi KI" SortExpression="NghiCP">
                                <ItemTemplate>
                                    <%#Eval("NghiCP") %>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="Nghỉ KII" SortExpression="NghiKP">
                                <ItemTemplate>
                                    <%#Eval("NghiKP") %>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="Nghỉ CN" SortExpression="NghiCN">
                                <ItemTemplate>
                                    <%#Eval("NghiCN") %>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="DH" SortExpression="DanhHieu">
                                <ItemTemplate>
                                    <%#Eval("DanhHieu") %>
                                </ItemTemplate>
                            </asp:TemplateField>
                            
                        </Columns>
                        <PagerStyle BackColor="#E4ECEF"  HorizontalAlign="Center" />
                        <HeaderStyle BackColor="#9999FF" Font-Bold="True" BorderColor="Blue"
                            Height="30px" />
                    </asp:GridView>
                </div>
            </div>
        </div>
    </div>
</asp:Content>

